# import random
# nums = []
# while len(nums) < 6:
#     num = random.randint(1,33)
#     if num not in nums:
#         nums.append(num)
# nums.append(random.randint(1,16))
# print("随机生成的双色球号码:")
# print("红球：", end="")
# for i in nums[:6]:
#     print(i,end="")
# print("篮球：",nums[6])

number = {5,6,9,3,12,15,18,20,35,62}
number.sort(reverse=True)
print(number)
words = {'chicken','fox','duck','dog','rabbit','sheep'}
words.sort(key=len)
print(words)
sorted(iterable[,key=None][,reverse=False])
number_new = sorted(number)
print(number)
print(number_new)




